package lab02.test35;

/**
 * Created by lenovo on 2017/11/16.
 */
public class Test {
    public static void main(String[] args) {
        Manager staff1=new Manager("lihua",5600);
        System.out.println("manager:"+staff1.getName()+'\t'+staff1.computeSalary());

        Salesman staff2=new Salesman("zhangsan",3000,100,30);
        System.out.println("salesman:"+staff2.getName()+'\t'+staff2.computeSalary());

        Worker staff3=new Worker("lile",26,150);
        System.out.println("Worker:"+staff3.getName()+'\t'+staff3.computeSalary());
    }

}

